﻿
@using LanDBom.Resources
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8" />
    @*<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://cdn.oaistatic.com/; ...">*@
    <title>HuanFeng</title>
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/Jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @Scripts.Render("~/bundles/jquery")
    @RenderSection("styles", required: false)
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/Site.css" rel="stylesheet" />
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <script src="~/Scripts/bootstrap.js"></script>
    <script src="~/Scripts/bootstrap.min.js"></script>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css" rel="stylesheet" />
    <link href="~/Content/Css/Ger.css?a=dhhv0d9s" rel="stylesheet" />
    <script src="~/Scripts/moment.js"></script>
    <script src="~/Scripts/wailianJS/Generjs.js?a=0191sj"></script>
    <style>
        body {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 0;
            padding: 0;
            font-size: 12px;
            width: 100%;
            height: 100%;
        }

        html, body {
            background-color: #e9ecef;
            height: 100%;
        }

        #Setup_panel {
            border: 1px solid black;
            background-color: #E8ECF6;
            width: 660px;
            height: 440px;
            position: fixed;
            left: 350px;
            top: 200px;
        }

        #Setup_panel_Feature > div {
            margin-top: 20px;
            border-bottom: 0.5px solid black;
            padding-bottom: 10px
        }
    </style>
</head>
<body>
    <div style="width:100%;height:100%">
        <div class="col-12 fgdehj row" style="align-items:center;height:5%;">
            <div class="col-2 font-weight-bold GEN-cent">@Resource.String20</div>
            <div class="col-sm-3"></div>
            <div class="col-sm-3 font-weight-bolder" title="@Resource.String21" id="date-time"></div>
            <div class="col-sm-4" style="line-height: 1; padding-right: 20px;">
                <ul class="nav  justify-content-end">
                    <li class="nav-item">
                        <a href="@Url.Action("SetLanguage", "Home", new { culture = "en-US" })" class="nav-link ">English</a>
                    </li>
                    <li>
                        <a href="@Url.Action("SetLanguage", "Home", new { culture = "zh-CN" })" class="nav-link ">中文</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" style="color:#000" href="#" id="HOME_Settings">@Resource.String46</a>
                    </li>
                    <li class="nav-item">
                        @Html.ActionLink(Resource.String22, "Zuye", new { Controller = "Home", Action = "Zuye" }, new { @class = "nav-link", @style = "color:#000" })
                    </li>
                    @*退出*@
                    <li class="nav-item">
                        @Html.ActionLink(Resource.String23, "tuichu", new { Controller = "Home", Action = "tuichu" }, new { @class = "nav-link", @style = "color:#000", id = "tui", @onclick = "return confirm('是否要退出！')" })
                    </li>
                </ul>
            </div>
        </div>
        <div class="col-12 LeftBor row" style="height:100%">
            <div class="col-sm-3 hdighh" style="max-width: 15%" id="daohang_div">
                <div class=" list-group" style="align-items: center; padding-top: 20px; max-height: 25vh;">
                    <img src="~/fonts/0013.png" alt="rock" width="100" height="100" class="nav" />
                    <ul class="li-left">
                        @if (MyAuthentication.IsLogin())
                        {
                            <li style="font-size:18px;" id="Login_N">@(MyAuthentication.GetUsers().DE_nae)</li>
                            <li id="Login_quan" style="display:none">@(MyAuthentication.GetUsers().DE_quan)</li>
                            <li style="display:none" id="Login_name">@(MyAuthentication.GetUsers().DE_ID)</li>
                            <li style="display:none" id="Login_path"> @(MyAuthentication.GetUsers().DE_dizhi)</li>
                            <li style="display:none" id="Login_pass">@(MyAuthentication.GetUsers().DE_Pass)</li>
                            <li style="display:none" id="Login_bm">@(MyAuthentication.GetUsers().F_BuMen.FName)</li>
                            @*@(Session["names_da"])*@
                            <li style="display:none" id="Login_sf">@(MyAuthentication.GetUsers().F_Shen.FName)</li>
                            @*@(Session["names_sa"])*@
                            <li style="display:none" id="Login_zj">@(MyAuthentication.GetUsers().DE_zhiji)</li>
                        }
                        else
                        {
                            <li>请先登录</li>
                        }
                    </ul>@*登录名和权限*@
                </div>
                <div class="list-group list-group-flush" id="Tian" style=" overflow-y: scroll; max-height: 67vh;">
                    <ul id="ulij" class="Ulte ulkunag">
                        <li class=" Ulte" style="color:#000">
                            <h6> @Resource.String25</h6>
                            <ul style="" class="Ulte  ULLi">
                                <li id="li1">@Html.ActionLink(Resource.String26, "Requisition_form", new { controller = "Application", Action = "Requisition_form" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li2">@Html.ActionLink(Resource.String5, "Inspect_Contracts", new { Controller = "Contracts", Action = "Inspect_Contracts" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li3"> @Html.ActionLink(Resource.String27, "BOMChanffg", "Home", new { SHun = 2 }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li4"> @Html.ActionLink(Resource.String28, "JJInksm", "Material", new { SHun = 3 }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                @*<li> @Html.ActionLink("粗报价流程", "Application", new { controller = "Cuobaojia", Action = "Application" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>*@
                                @*<li> @Html.ActionLink("设计委托", "Design_order", new { controller = "Contrasct", Action = "Design_order" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>*@
                                <li id="li5">@Html.ActionLink("物料询价", "Overview", new { Controller = "Procure", Action = "Overview" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li6">@Html.ActionLink("物料核价", "Price_main", new { Controller = "Procure", Action = "Price_main" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li7">@Html.ActionLink("对外报价", "General", "Custom", new { SHun = 6 }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li8">@Html.ActionLink(Resource.String30, "Quotation_to_be_generated", new { Controller = "Home", Action = "Quotation_to_be_generated" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                            </ul>
                        </li>
                    </ul>
                    <ul id="ulij" class="Ulte ulkunag">
                        <li class=" Ulte" style="color:#000">
                            <h6>@Resource.String1227</h6>
                            <ul style="" class="Ulte ULLi">
                                <li id="li9">@Html.ActionLink(Resource.String31, "Index", new { Controller = "Home", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="lihfh">@Html.ActionLink("ERP物料成本核算", "GYBOM", new { Controller = "Home", Action = "GYBOM" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li22">@Html.ActionLink("项目报表", "Requisition", new { Controller = "Application", Action = "Requisition" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li24">@Html.ActionLink("采购报表", "Valuation_statement", new { Controller = "Procure", Action = "Valuation_statement" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li10">@Html.ActionLink(Resource.String33, "Shenqingdan", new { Controller = "Home", Action = "Shenqingdan" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li11">@Html.ActionLink(Resource.String34, "shenpiView", new { Controller = "Admin", Action = "shenpiView" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li12">@Html.ActionLink(Resource.String35, "Index", new { Controller = "schedules", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li13">@Html.ActionLink(Resource.String36, "Index", new { Controller = "LanJiLus", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li14">@Html.ActionLink(Resource.String1226, "SHjixs", new { Controller = "Technology", Action = "SHjixs" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li15">@Html.ActionLink(Resource.String1268, "Contracts_statement", new { Controller = "Contracts", Action = "Contracts_statement" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li16">@Html.ActionLink("设计图纸库", "DrawingLibrary", new { Controller = "Contracts", Action = "DrawingLibrary" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                <li id="li25">@Html.ActionLink("物料更新报表", "Record_statement", new { Controller = "Home", Action = "Record_statement" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                            </ul>
                        </li>
                    </ul>
                    <ul id="ulij" class="Ulte ulkunag">
                        <li class=" Ulte" style="color:#000">
                            <h6> @Resource.String47</h6>
                            @if (MyAuthentication.IsLogin())
                            {
                                if (MyAuthentication.GetUsers().DE_quan == "管理员" || MyAuthentication.GetUsers().DE_zhiji >= 2)
                                {
                                    <ul style="display:none" class="Ulte ULLi">
                                        <li id="li17">@Html.ActionLink(Resource.String8, "CliView", new { Controller = "Application", Action = "CliView" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li id="li18">@Html.ActionLink(Resource.String9, "AddGS", new { Controller = "Material", Action = "AddGS" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li id="li19">@Html.ActionLink(Resource.String10, "Index", new { Controller = "Formations", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li id="li250">@Html.ActionLink(Resource.String802, "WLindex", new { Controller = "Formations", Action = "WLindex" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li id="li20">@Html.ActionLink(Resource.String11, "AddGong", new { Controller = "Material", Action = "AddGong" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" }) </li>
                                        <li id="li21">@Html.ActionLink(Resource.String12, "Index", new { Controller = "parices", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li>@Html.ActionLink("物料分类对照表", "Index", new { Controller = "buty2", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                    </ul>
                                }
                                else
                                {
                                    <ul style="display:none" class="Ulte ULLi">

                                        <li id="li19">@Html.ActionLink(Resource.String10, "Index", new { Controller = "Formations", Action = "Index" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li id="li250">@Html.ActionLink(Resource.String802, "WLindex", new { Controller = "Formations", Action = "WLindex" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>

                                    </ul>
                                }
                            }
                        </li>
                    </ul>

                    @if (MyAuthentication.IsLogin())
                    {
                        if (MyAuthentication.GetUsers().DE_quan == "管理员" || MyAuthentication.GetUsers().DE_zhiji >= 3)
                        {
                            <ul id="ulij" class="Ulte ulkunag" style="display:block">
                                <li class=" Ulte" style="color:#000">
                                    <h6>@Resource.String1269</h6>
                                    <ul style="display:none" class="Ulte ULLi">
                                        <li>@Html.ActionLink(Resource.String37, "Employee_management", new { Controller = "Admin", Action = "Employee_management" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                        <li>@Html.ActionLink("采购权限", "Purchasing_Authority", new { Controller = "Admin", Action = "Purchasing_Authority" }, new { @class = "len-gh", @style = "background: no-repeat;color:#000" })</li>
                                    </ul>
                                </li>
                            </ul>
                        }
                    }
                </div>
            </div>
            <div class="col-11" style=" max-width:85%">
                <div style="overflow-y:scroll;max-height: 95vh;overflow-x:hidden;margin-bottom:10px;">
                    @RenderBody()
                    @Scripts.Render("~/bundles/jquery")
                    @RenderSection("scripts", required: false)
                </div>
                <div id="Setup_panel" style="display:none">
                    <fieldset class="boun1">
                        <div class="">
                            <button class=" btn-secondary btn-sm" id="Setup_panel_quit">退出</button>
                        </div>
                    </fieldset>
                    <hr />
                    <fieldset class="boun1">
                        <legend class="len">修改密码</legend>
                        <div class="MyIndex">
                            <ul style="list-style:none" class="list-group">
                                <li class="list-group-item">
                                    @Resource.String38：
                                    @if (MyAuthentication.IsLogin())
                                    {
                                        <input type="text" style="color:green;font-weight:600;" name="name" disabled value="@(MyAuthentication.GetUsers().DE_nae)" />
                                    }
                                </li>
                                <li class="list-group-item">
                                    @Resource.String39：
                                    <input type="password" name="oldpwd" value="" id="oldpwd" errormsg="@Resource.String42" autocomplete="new-password" />
                                </li>
                                <li class="list-group-item">
                                    @Resource.String40：
                                    <input type="text" name="newpwd" value="" id="newpwd" errormsg="@Resource.String43！" autocomplete="new-password" />
                                    <label style="font-size:12px;color:red">@Resource.String41</label>
                                </li>
                                <li class="list-group-item">
                                    @Resource.String44：
                                    <input type="text" name="newpwd2" value="" id="newpwd2" autocomplete="new-password" />
                                </li>
                                <li>
                                    <label id="newpwd2_l" style="color:red"></label>
                                    <input type="button" id="Submitss" value="@Resource.String45" class="btn-sm btn-info" />
                                </li>
                            </ul>
                        </div>
                    </fieldset>
                </div>
            </div>
        </div>
        <div style="height:1%;"></div>
    </div>
</body>
</html>